from django.urls import path

from defect import views

app_name = "defect"
urlpatterns = [
    path('hello/', views.hello, name="hello"),
    path('adddefect/', views.add_defect, name="add_defect"),
    path('getdefects/', views.get_defect, name="get_defect"),
    path('deletedefect/<int:defect_id>/', views.delete_defect, name="delete_defect"),
    path('editdefect/<int:defect_id>/', views.edit_defect, name="edit_defect"),
    path('exportexcel/', views.export_excel, name="export_excel"),
]